Installer version 3.3 implements the Font Family Resource Atom, 'inff' as a means for installing Font Resources. In addition, version 3.3 enhances the Action Atom resource to return a longint result instead of a boolean result. To take advantage of the new return result, set the 'inaa' format version to 1. Refer to the enclosed “Installer 3.3 Scripting Guide” for a description of the impact for these two changes. Otherwise, version 3.3 is script compatible with version 3.1/3.2 scripts.
The “Installer 3.3 Scripting Guide” includes detailed information on the new features, plus additional information gained since the release of version 3.2. Changes and additions to the guide are highlighted with sidebars to make it easier to find them.
The file and creator type for version 3.3 is 'bbkr'.
All font resources must be installed via the Font Family Resource Atom. Scripts which attempt to install fonts via the Resource Atom, 'inra', mechanism, can still be Rez'd and ScriptChecked successfully, however, Installer version 3.3 will report an error upon installation.
Important Note: The MPW ScriptCheck tool, version 3.3, has not been updated to recognize the new 'inff' resource. The ScriptCheck tool will report that the 'inff' resource is unrecognized. A similar error will be reported for any package, inpk' resource which includes the 'inff' resource.
The size field for the 'inff' resource must be entered manually. In addition, any package resource which includes an 'inff' resource atom, AND, which has the showsOnCustom flag set, must be updated manually. A sample script, InstallFont.r, is supplied to demonstrate a scripting technique for the installation of a font resource.
When checking the script with the MPW ScriptCheck tool, ScriptCheck will report that the 'inpk' includes resources of an unknown type 'inff' ... which will be skipped. This error will be reported for each package, 'inpk', which includes the 'inff' atom, or which includes another package, 'inpk', which includes the font resource atom. This error should be disregarded. You can use the ScriptCheck “-l 0” switch to keep ScriptCheck from reporting all warnings, however, other warning will not be displayed.
The package atom size field is for informational use and applies only when a package is selected at the Custom menu. By default, ScriptCheck calculates the package size for each showsOnCustom package, 'inpk' resource. ScriptCheck does not recognize the 'inff' resource and does not include the size of the 'inff' resource in the package size. As a result, any showsOnCustom package, 'inpk', resources which include a font resource atom, should be adjusted using ResEdit to include the font resource size.
The following bugs in Installer 3.2, have been fixed in version 3.3.
1. With File Sharing turned on, Installer 3.2 cannot install software onto a mounted volume which is not the boot volume. Version 3.2 reports an error which has nothing to do with the fact that File Sharing is turned on. The work around solution for version 3.2, is to turn off File Sharing before performing the installation on a non-boot volume.
2. When installing an application with a large resource map, using the technique demonstrated in the sample script “AppTooLargeForOneFloppy.r”, Installer version 3.2 fails the installation. Version 3.3 implements a revised memory management scheme so that there is sufficient memory to reopen the application's resource fork to merge in the additional resources.
3. Under Installer 3.2, font resource names which include numbers cannot be installed. Version 3.3, implements the 'inff' atom, which does not have this limitation.